using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public static class ListEx
{
    public static T Back<T>(this List<T> list)
    {
        if(list == null)
        {
            return default;
        }
        return list[list.Count - 1];
    }

}
